package com.cloudserver.springboot.dao;

import com.cloudserver.springboot.bean.CharacterPermission;
import com.cloudserver.springboot.bean.CharacterPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CharacterPermissionMapper {
    long countByExample(CharacterPermissionExample example);

    int deleteByExample(CharacterPermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CharacterPermission record);

    int insertSelective(CharacterPermission record);

    List<CharacterPermission> selectByExample(CharacterPermissionExample example);

    CharacterPermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CharacterPermission record, @Param("example") CharacterPermissionExample example);

    int updateByExample(@Param("record") CharacterPermission record, @Param("example") CharacterPermissionExample example);

    int updateByPrimaryKeySelective(CharacterPermission record);

    int updateByPrimaryKey(CharacterPermission record);
}